Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Run Lotusscript agent from Xpage
Feedback Type: Problem
Product Area: Database
Technical Area: New Features
Platform: Windows XP client
Release: 8.5
Reproducible: Unknown

I have a simple action that contains the following code in a xpage's postSaveDocument event:

var db:NotesDatabase = session.getDatabase(session.getServerName(), "TimeOffxp.nsf");
var agent:NotesAgent = db.getAgent("(SaveProfile)");
agent.runOnServer(document1.getNoteID());

Although I already delete all code in the agent (an empty empty agent), I still got the "The page cannot display - http 500" error when I save the document. I also try the same code in the "querySaveDocument" event and got the same error.

Please advice if anything I did wrong or I miss somthing. Thanks.


Feedback number WEBB7ULLES created by ~John Prewetexoni on 08/04/2009

Status: Open
Comments:

Run Lotusscript agent from Xpage (~John Prewetexo... 4.Aug.09)
. . Re: Run Lotusscript agent from Xpag... (~Maria Xanjumib... 4.Aug.09)
. . . . Re problem run lotusscript agent fr... (~John Prewetexo... 5.Aug.09)
. . . . . . Re problem run lotusscript agent fr... (~Maria Xanjumib... 5.Aug.09)
. . . . . . . . Re problem run lotusscript agent fr... (~John Prewetexo... 5.Aug.09)
. . . . . . . . . . Re problem run lotusscript agent fr... (~Maria Xanjumib... 6.Aug.09)
. . . . . . . . . . . . Re problem run lotusscript agent fr... (~John Prewetexo... 6.Aug.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS